package org.jeecg.modules.demo.app.service;

import org.jeecg.modules.demo.allvipcard.entity.AllVipcard;
import org.jeecg.modules.demo.reserverecord.entity.ReserveRecord;
import org.jeecg.modules.demo.storeproject.entity.StoreProject;

import java.sql.Date;
import java.time.LocalDate;
import java.util.List;
import java.util.Map;

public interface AppService {

    List<Map<String, Object>> listMemberProject(Map<String, Object> map);

    List<Map<String, Object>> listMemberCommodity(Map<String, Object> map);

    int updatePraiseNumById(int i, String id);

    int updateForwardNumById(int i, String id);


    List<AllVipcard> getCard(String storeId, String cardId);

    List<ReserveRecord> listByEmployeeDate(String storeId, String projectId, LocalDate orderDay, String empolyeeId);

    List<ReserveRecord> listByDate(String storeId, String projectId, Date orderDay);

    List<ReserveRecord> listByEmployeeDate(String storeId, String projectId, Date startDay, Date endDay, String employeeId);

    ReserveRecord queryReserveRecordById(String detailId);

    //    List<Map>  queryReserveRecord4Group(String groupId);
    List<StoreProject> listStoreProjects(String storeId);

}
